//添加表单的数据
import {FormSchema} from "/@/components/Form";

export const formSchema: FormSchema[] = [
  // TODO 主键隐藏字段，目前写死为ID
  {label: '', field: 'id', component: 'Input', show: false},
  {
    label: '所属部门',
    field: 'sysOrgCode',
    component: 'Input',
  },
  {
    label: '分类',
    field: 'category',
    component: 'Input',
  },
  {
    label: '值',
    field: 'statusValue',
    component: 'Input',
  },
  {
    label: '名称',
    field: 'statusText',
    component: 'Input',
  },
  {
    label: '前景色',
    field: 'forecolor',
    component: 'Input',
  },
  {
    label: '背景色',
    field: 'backcolor',
    component: 'Input',
  },
  {
    label: '图标',
    field: 'ico',
    component: 'Input',
  },
  {
    label: '描述',
    field: 'description',
    component: 'Input',
  },
  {
    label: '备注',
    field: 'remarks',
    component: 'Input',
  },
  {
    label: '类型',
    field: 'type',
    component: 'Input',
  },
  {
    label: '排序',
    field: 'sorter',
    component: 'InputNumber',
  },
];
